package com.xln.furns.dao;

import com.xln.furns.entity.Furn;
import com.xln.furns.entity.Page;

import java.util.List;

public interface FurnDAO{
    public List<Furn> queryFurn();
    public int addFurn(Furn furn);

    public int deleteFurn(int id);
    public Furn queryFurnById(int id);
    public int update(Furn furn);
    public int getTotalRow();
    public List<Furn> getPageItem(Integer begin,Integer pageSize);
    public int getTotalRowByname(String name);
    public List<Furn> getPageItemsByname(int begin,int pageSize,String name);

}
